FROM registry.cn-shenzhen.aliyuncs.com/wmmt/elasticsearch:7.8.0
COPY elastic-certificates.p12 /usr/share/elasticsearch/config/
RUN chown 1000:0 /usr/share/elasticsearch/config/elastic-certificates.p12
EXPOSE 9200 9300
CMD ["eswrapper"]
